package com.axend.aerosense.home.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class HomeReportWebBean {

    private String ADLserverIp;
    private String ADLserverPort;
    //语言zh：中文， en：英文
    private String lan;
    //参数num 0 显示report的一个报告 ；num 1 显示2个
    private String num;
    //num为0的时候，只显示一个报告，这里显示哪个报告（Sleep或ADL）
    private String report;
    private String serverPort;
    private String serverIp;
    //用户报告的key
    private String encrypt;

    public static HomeReportWebBean testData(){
        HomeReportWebBean webBean = new HomeReportWebBean();
        webBean.setADLserverIp("https://aerosense.ax-end.com");
        webBean.setADLserverPort("9903");
        webBean.setLan("en");
        webBean.setNum("1");    //参数num 0 显示report的一个报告 ；num 1 显示2个
        webBean.setServerIp("https://aerosense.ax-end.com");
        webBean.setServerPort("9903");
        webBean.setReport("Sleep");
        webBean.setEncrypt("13360111504B57313534053B51");
        return webBean;
    }

    public static HomeReportWebBean test01(){
        HomeReportWebBean webBean = new HomeReportWebBean();
        webBean.setADLserverIp("http://10.8.4.110");
        webBean.setADLserverPort("8888");
        webBean.setLan("en");
        webBean.setNum("0");    //参数num 0 显示report的一个报告 ；num 1 显示2个
        webBean.setServerIp("http://10.8.4.110");
        webBean.setServerPort("8888");
        webBean.setReport("ADL");
        webBean.setEncrypt("3AA2A235630D169FEB977EB43EEEBF726321C67E0C85145992387B034C168E81");
        return webBean;
    }

    public static HomeReportWebBean test02(){
        HomeReportWebBean webBean = new HomeReportWebBean();
        webBean.setADLserverIp("http://10.8.4.110");
        webBean.setADLserverPort("8888");
        webBean.setLan("en");
        webBean.setNum("0");    //参数num 0 显示report的一个报告 ；num 1 显示2个
        webBean.setServerIp("http://10.8.4.110");
        webBean.setServerPort("8888");
        webBean.setReport("Sleep");
        webBean.setEncrypt("911397AED59E13A45738D24D9D25C373A8E7F53262CA5D2EB470908B46B352DDC0891BE4F98B8F5873D58B2253C5496B");
        return webBean;
    }
}
